package com.wz.config;

import java.io.IOException;
import java.util.Properties;


public class ConfigReader{
	private static Properties properties = new Properties();

	public static void initConfig() throws IOException{
		properties.load(ConfigReader.class.getClassLoader().getResourceAsStream("config.properties"));
	}

	public static String getAttribute(String key){
		return properties.getProperty(key, null);
	}
}